package com.study.pre.api;

import java.util.stream.Stream;

public class StreamMain {

    public static void main(String[] args) {

        Stream<Integer> stream = Stream.of(1,2,3);
        stream.forEach(name-> System.out.println(name));

        // 一些常用的流方法
    }
}
